const fs = require('fs-extra');
const path = require('path');

const workspce = process.cwd();

const requiredDir = [
	'./db',
	'./config',
	'./csv',
	'./logs'
];

(async () => {
	for (const dir of requiredDir) {
		await fs.ensureDir(path.join(workspce, dir));
	}
})();